package com.guoheng.safe.sys.mapper.basicinfo;

import com.guoheng.safe.sys.model.basicinfo.ControlData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ControlDataMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ControlData record);

    int insertSelective(ControlData record);

    ControlData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ControlData record);

    int updateByPrimaryKey(ControlData record);

    List<ControlData> selectAll();

    ControlData selectOne(@Param("deviceType") Integer deviceType, @Param("controlType")Integer controlType);
}